package cn.stylefeng.guns.sys.modular.dataQualityCheck.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2020-11-23
 */
@TableName("etl_job")
public class EtlJob implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "job_id", type = IdType.ID_WORKER)
    private String jobId;

    @TableField("job_name")
    private String jobName;

    /**
     * 数据抽取数据源编码
     */
    @TableField("from_ds_id")
    private String fromDsId;

    /**
     * 数据抽取目标数据源编码
     */
    @TableField("to_ds_id")
    private String toDsId;

    /**
     * 元数据ID
     */
    @TableField("metadata_id")
    private String metadataId;


    public String getJobId() {
        return jobId;
    }

    public void setJobId(String jobId) {
        this.jobId = jobId;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public String getFromDsId() {
        return fromDsId;
    }

    public void setFromDsId(String fromDsId) {
        this.fromDsId = fromDsId;
    }

    public String getToDsId() {
        return toDsId;
    }

    public void setToDsId(String toDsId) {
        this.toDsId = toDsId;
    }

    public String getMetadataId() {
        return metadataId;
    }

    public void setMetadataId(String metadataId) {
        this.metadataId = metadataId;
    }

    @Override
    public String toString() {
        return "EtlJob{" +
                "jobId=" + jobId +
                ", jobName=" + jobName +
                ", fromDsId=" + fromDsId +
                ", toDsId=" + toDsId +
                ", metadataId=" + metadataId +
                "}";
    }
}
